<form id="form" action="{:url('setting/article')}">
<div class="titlebar"><i class="iconfont icon-text_icon"></i>全局文案</div> 
<table class="formtable">
    <tr><th>默认分享标题:</th><td><input class="input w500" datatype="*" type="text" name="shore_text" value="{$article.shore_text ?? ''}" /></td></tr>
    <tr><th>默认分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="shore_img" name="shore_img" value="{$article.shore_img ?? ''}" /></td></tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>首页文案</div>
<table class="formtable">
    <tr>
        <th>搜索提醒:</th>
        <td><input class="input w500" datatype="*" type="text" name="search_tip" value="{$article.search_tip ?? ''}" /></td>
    </tr>
    <tr>
        <th>优选滑屏标题:</th>
        <td><input class="input w500" datatype="*" type="text" name="index_shop_title" value="{$article.index_shop_title ?? ''}" /></td>
    </tr>
    <tr>
        <th>查看更多:</th>
        <td><input class="input w500" datatype="*" type="text" name="index_more" value="{$article.index_more ?? ''}" /></td>
    </tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>我的文案</div>
<table class="formtable">
    <tr>
        <th>开通提示:</th>
        <td><input class="input w500" datatype="*" type="text" name="user_card_title" value="{$article.user_card.title??''}" /></td>
    </tr>
    <tr>
        <th>调整链接:</th>
        <td class="input-group">
        <select datatype="*" class="select w100" name="user_card_type">
            {if isset($article.user_card.type)}
            <option value="navigate"{if $article.user_card.type =='navigate'} selected{/if}>navigate</option>
            <option value="redirect"{if $article.user_card.type =='redirect'} selected{/if}>redirect</option>
            <option value="switchTab"{if $article.user_card.type =='switchTab'} selected{/if}>switchTab</option>
            {else}
            <option value="navigate">navigate</option>
            <option value="redirect">redirect</option>
            <option value="switchTab">switchTab</option>
            {/if}
        </select>
        <input class="input w400" datatype="*" type="text" name="user_card_page" value="{$article.user_card.page??''}" />
        </td>
    </tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>优选文案</div>
<table class="formtable">
    <tr><th>分享文案:</th><td><input class="input w500" datatype="*" type="text" name="shop_share_text" value="{$article.shop_share_text ?? ''}" /></td></tr>
    <tr><th>分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="shop_share_img" name="shop_share_img" value="{$article.shop_share_img ?? ''}" /></td></tr>
</tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>好店文案</div>
<table class="formtable">
    <tr><th>分享文案:</th><td><input class="input w500" datatype="*" type="text" name="store_share_text" value="{$article.store_share_text ?? ''}" /></td></tr>
    <tr><th>分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="store_share_img" name="store_share_img" value="{$article.store_share_img ?? ''}" /></td></tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>会员文案</div>
<table class="formtable">
    <tr><th>会员文案:</th><td><input class="input w500" datatype="*" type="text" name="vip_behind_text" value="{$article.vip_behind_text ?? ''}" /></td></tr>
    <tr><th>开通文案:</th><td><input class="input w500" datatype="*" type="text" name="vip_front_text" value="{$article.vip_front_text ?? ''}" /></td></tr>
</table>
<table class="formtable">
    <tr><th></th><td><input type="submit" value="确定" class="button button-blue submit" /><input type="reset" value="重置" class="button button-blank" /></td></tr>
</table> 
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
    $(".selectid").win();
})
function shore_img(show_src){$("#shore_img").val(show_src);}
function shop_share_img(show_src){$("#shop_share_img").val(show_src);}
function store_share_img(show_src){$("#store_share_img").val(show_src);}
function vip_image(show_src){$("#vip_image").val(show_src);}
</script>